﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rappelz.GameServer
{
    public class RLock
    {
        public object objLock = new object();
        public int handle;
    }

    public class AutoLock
    {
        public AutoLock(int handle)
        {
            this.t = (uint)Environment.TickCount;
            this.lockHandle.handle = handle;
        }

        public void set(int handle)
        {
            this.t = (uint)Environment.TickCount;
            this.lockHandle.handle = handle;
        }


// Function       :   public void ArcadiaAutoLock::ArcadiaAutoLock(struct ArcadiaLock &, const char *, int)
// Function       :   public void ArcadiaAutoLock::ArcadiaAutoLock()
// Function       :   public void ArcadiaAutoLock::~ArcadiaAutoLock()
// Function       :   public void ArcadiaAutoLock::set(struct ArcadiaLock &, const char *, int)
//        public string szFileName;// Data           :   this+0x0, Member, Type: const char *, szFileName
//        public int nLineNumber;// Data           :   this+0x4, Member, Type: int, 
        public uint t;// Data           :   this+0x8, Member, Type: unsigned int, t
        public RLock lockHandle = new RLock();

    }
}
